package com.duke.shaking;

public class ResultCodeFactory {
	/**
	 * api返回结果类型的工厂
	 */

	public static final String SUCCESS = "1";// 处理正常
	public static final String REQUEST_XML_ERROR = "-1";// 解析错误
	public static final String REQUEST_TYPE_ERROR = "-2";// request_type无效
	public static final String REQUEST_EXEC_ERROR = "-3";// 程序执行异常无效
	public static final String REQUEST_USERID_ERROR = "-4";// 用户ID为空
	public static final String REQUEST_USER_NOT_EXISTS = "-6";// 用户不存在
	public static final String REQUEST_FRIENDID_ERROR = "-7";// 好友ID不存在
	public static final String REQUEST_TIMES_USED = "-8";// 今日摇的次数已用光
	public static final String REQUEST_CANNOT_READ = "-9";// 初次联系人不能看信
	public static final String REQUEST_PRODUCTID_ERROR = "-10";// 商品id错误
	public static final String REQUEST_CONSUMETYPE_ERROR = "-11";// 支付类型错误
	public static final String REQUEST_PRODUCT_MONEY_ERROR = "-12";// 产品价格错误
	public static final String REQUEST_SEND_TYPE_ERROR = "-13";// 領取類型錯誤
	public static final String REQUEST_PAY_TYPE_ERROR = "-14";//充值类型错误
	public static final String REQUEST_OLDPSW_ERROR = "-15";// 旧密码错误
	public static final String REQUEST_NEWPSW_ERROR = "-16";// 新密码格式错误
	public static final String REQUEST_ORDERID_ERROR = "-17";// 订单ID错误
	public static final String REQUEST_SIGN_ERROR = "-18";// 签名错误
	public static final String REQUEST_PAY_RESULT_ERROR = "-19";// 支付结果错误错误
	public static final String REQUEST_ACCOUNT_NOT_ENOUGH = "-20";// 账户余额不足
	public static final String REQUEST_ACCOUNT_ERROR = "-21";// 余额错误
	public static final String REQUEST_PHOTO_COUNT_ERROR = "-22";// 照片数量小于5张
	public static final String REQUEST_PHOTO_NOT_EXISTS_ERROR = "-23";// 照片不存在
	public static final String REQUEST_SEX_ERROR = "-30";// 性别异常
	public static final String REQUEST_PASSWORD_ERROR = "-37";// 密码错误
	public static final String REQUEST_MOBILE_ERROR = "-38";// 手机号错误
	public static final String REQUEST_CODE_ERROR = "-51";// 验证码错误
	public static final String REQUEST_SRC_ERROR = "-54";// 来源错误
	public static final String REQUEST_MOBILE_REGISTERED = "-56";// 手机已注册
	public static final String REQUEST_MOBILE_CHECK_OUTTIME = "-57";// 今天下行短信超过规定条数
	public static final String REQUEST_MOBILE_CHECKED = "-58";// 已经验证了手机号
	public static final String REQUEST_NOT_LOGIN = "-199";// 尚未登录
}
